<?php
	
	setcookie('user_id', "", time() - 3600);
	require_once('db_connect.php');
	require_once('start_session.php');	
	$sql="update session set id = ' ' where ip='$_SESSION[ip]'";
	mysqli_query($conn,$sql);
	echo("
          <script>
         top.location.href='main.php';
          </script>
          ");
?>	
